/**
 * AccountWalletInfoMapperExt
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-06-07  Created
 */
package com.lzy.cloud.account.mapper;

import com.lzy.cloud.account.dto.AccountWalletInfoDto;
import org.apache.ibatis.annotations.Param;

public interface AccountWalletInfoMapperExt extends AccountWalletInfoMapper {

    int deleteById(Long id);

    int updateBalance(@Param("param") AccountWalletInfoDto dto);

    AccountWalletInfoDto selectAvailableAccount(@Param("walletId") Long walletId);

    AccountWalletInfoDto selectBlockAccount(@Param("walletId") Long walletId);

    Integer updateAccountWalletInfo(@Param("param") AccountWalletInfoDto dto);
}